package com.platform.qujia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.qujia.param.request.PayInfoRequest;
import com.platform.qujia.pojo.SaleActivityOrder;
import com.platform.qujia.pojo.req.SaleActivityOrderCreateReq;

import java.util.List;
import java.util.Map;

/**
 * @date 2023/12/21
 */
public interface ISaleActivityOrderService extends IService<SaleActivityOrder> {

    SaleActivityOrder createOder(SaleActivityOrderCreateReq orderCreateReq);

    Map<String,Object> toThirdPay(PayInfoRequest payInfoRequest);

    String callbackSxf(Map<String,Object> request);

    String callbackYh(Map<String,Object> request);

    void cancelOrder(String orderNo);

    List<SaleActivityOrder> queryList(Long enterpriseId,Integer userId,String mobilePhone);
}
